package cn.kgc.service;

import cn.kgc.bean.pojo.EpAnswer;

import java.util.List;

public interface EpAnswerService {
    /**
     * @description 新增员工安全培训问卷答案
     * @author panchongxin
     * @param epAnswer:
     * @return boolean
     * @date 2023/5/5 22:30
     */
    boolean addAnswer(EpAnswer epAnswer);

    /**
     * @description 根据问卷id和回答员工姓名查询回答答案
     * @author panchongxin
     * @param questionInfoId:
     * @return List<String>
     * @date 2023/5/5 23:46
     */
    List<String> getAllAnswerByQuestionInfoIdAndCreator(Integer questionInfoId,
                                                        String creator);
}
